image: Compute clip properly
authorBenjamin Otte <otte@redhat.com>
Tue, 20 Jan 2015 05:25:01 +0000 (06:25 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 20 Jan 2015 05:30:20 +0000 (06:30 +0100)
commit22967f1612fc7005ccaad8c06eaf167cfecc843c
tree65a43e36deed04634f3791f371911ee98357090d
parentf7433557abd63c8e6d03ba31c14f004a0d62c173
image: Compute clip properly

Use the helper function we have for this, don't do it manually. This has
the side effect of also supporting icon transforms.
gtk/gtkimage.c